GtkWindow: default size is only for initial map
authorMatthias Clasen <mclasen@redhat.com>
Sat, 11 May 2013 22:45:27 +0000 (18:45 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 11 May 2013 22:49:51 +0000 (18:49 -0400)
commitfc10ee8d4a6694861d6be5dfd0f8f5e07a998ce0
treeed85c53e55ecbec128ba2475fc44c965598e9875
parent689905c1b45e3d70931a157994f719e87a7e57ee
GtkWindow: default size is only for initial map

Bring back need_default_size. We need it to preserve this
documented behavior:

The default size of a window only affects the first time a window is
shown; if a window is hidden and re-shown, it will remember the size
it had prior to hiding, rather than using the default size.

With this patch, all of the window sizing tests in
gtk/tests/window pass again.
gtk/gtkwindow.c